added post save hook to goals so that the outlinks goal relationships are also updated