updates to modes