UpdateSlots function

Update slots in an object