added editing of existing goals