fixups for updating stored functions