added update_code.sh and renamed update_code_by_commit.sh