Update the goal dashboard function