If, at any time after the location of the line of the railroad and the filing of the maps and profiles thereof, it appears that the location can be improved, the directors may alter or change the location of the line, and cause new maps and profiles to be filed, showing such changes, in the same offices where the originals are of file. The directors may proceed, in the same manner as the original location was acquired, to acquire and take possession of the new line, but shall sell or relinquish the lands owned by them for the original location, within five years after such change. No new location, as herein provided, shall be so run as to avoid any points named in their
articles of incorporation.