Google Play 501 error when updating YouTube

I am trying to update the YouTube application. Each time the update is downloaded and shows "Updating application". It takes a long time and after a while, an error "Unknown error 501" appears. I searched for many solutions on Google. I have tried all possible solutions, but it did not work. Can anyone help?