setup and update