handle filehandle updates. Separate delete rows api