Updated update_customer function to correctly update the password as well