updating sql + new script