update the Goal table