write new goal to the page