adding a refresh method for when new items have been added to the <ul>