fixed Composer/ScriptHandler.php

This actually duplicates the updating logic but its better then nothing (for now)