functionality to update the timesheet status