Updating main, Edge and Vector.