update code sql file