Updating PRE code