making the check for save vs update to be more explicit