update textfile to point