update repo base and media Repo