Update code for laptop2