Add editSuccess response and add edit handler in state manager