update last to touchscreen optimize