Update application without playstore

How to give an update alert for user inside app and force them to update inside the app and without redirecting at playstore.

does it possible with force user to download latest apk via filetransfer and the app will auto launch with new version of apk