implemented profile editing