merging hashes in update_account