That might work, as long as the uninstall takes all the folders for the app with it. The best thing is that it won't take long to try. You could go into the accounts section of the ipad settings and see if there are accounts in there for Gmail and Facebook, main app and messenger. If so delete those as well as the apps themselves. Then reinstall them, Facebook, Messenger and Gmail, and, hopefully, that'll do the trick.