implemented inline editing