updated query for create account