When you have apps that were downloaded with a different Apple ID than the one you use, and they need to be updated, a popup will appear, where you'll have to enter the password of that Apple ID. It's not necessary to sign out of your current ID and sign in with the one used to download the app.