Update source code and testing code.