Added profiling and updated end goal constraint update check