working on update script