update of sql script