add helper generic edit view