Update Square
Added visit function.