Added support for modify an account
Fix somes variable check errors while inserting an empty account