Update lab0 implementation.