Added new API to update password