update to lab 4.x, closes #36