remove upmatrix
add stubs for insert and select