update to fem2d