trigger script on change to db