update and optimize example model for log external