fix rpm update issues