remove redundant scripts from updates