update script animation