update weight functions, laplacian coming soon