Update code for laptop