Adding function to update timesheet