added saving of worklogs