fixed bug in codec update script