Fixed problem with storing an updated password