Added change-goal to API