add update script for updating