fixed update script