update code for build source