creating EDIT view