updates in time set_weak function