updating query for create account fields