make function for update laptop status