Made methods return boolean to indicate whether the update was
successful or not.