Updating history and pkg_meta