update number of items on reload