Update Engine and fix small bugs.