updates and default states