update postrm prerm to allow update