updated saveOrUpdate method to return Employee