Main engine update