Working update manifest builder

Update manifest builder script now works properly