Updating Password

It's not letting me do it. I fill in all the details and it says it's been updated but when I try to log in with the new password it's not recognising it.