upadte save method