Updated timesheet func