update edit view