update code and configuration