extended script to include updates