Updating Goal Function Created