upload source code and optimaze code