update code, pre-debug