leys, public squares, and other public places may be used, they shall be restored to their former condition as near as may be without unnecessary delay, and they shall at their own cost and expense relay their mains and pipes when made necessary by a change of grade in any street ordered by the board of may