added more data piping for edit view