fixed bug in update_rpms, improved print diff