Grid display in edit.php. Update/Insert functionality