rebuild notebook