updated composer.json to include some pre-install and pre-update events so things will work out the box