cleaned up echo statements in api/updateAccount