Update toggle script