Clock in update

Added clock in function