Hi neda2020
Thanks for using the Apple Support Communities.
I would like to double confirm I get your question right, you were saying when you try to update the apps from App Store, it popped up the login window with a different AppleID other than yours. And that prevents you to update the apps.
When you setup your iPhone XS Max, did you restore backup / transfer information from another iPhone? If so, some apps on your old iPhone may purchased from a different AppleID than your current one. (Maybe download by your family/friends AppleID). If that's the issue, you can delete the apps you have on the iPhone and re-download again with your current AppleID.
Best Regards,
J