update code for account query shop