edit view working