Handling editing request