updating edit view