apply sql changes to live db