update code and report