Generic updates to code