Test for updating goals with patch
Define update action in goals controller