Update script sql