To edit or update or change the staff shift name , follow the given path:
HR-->Staff Attendance-->Manage Staff Attendance Shifts And Sessions-->select the time based shift/work hours based shift-->click on edit icon
according to the shift name and click on Save.