update script

1. cascade on delete