my db file code is
public boolean insertUpdatedContact(String email1,String newpass){
db=this.getWritableDatabase();
ContentValues args = new ContentValues();
args.put(COLUMN_PASS,newpass);
int i= db.update(TABLE_NAME,args,COLUMN_EMAIL + "=" + email1, null);
return i > 0;
}
and code for .java file is
helper.insertUpdatedContact(e,np1str);
Toast.makeText(this, "Modified Successfully",Toast.LENGTH_SHORT).show();
helper.close();