updates to toggle