moved update timeslot out of duplicate check condition