implemented field editing