update get account query