added JS and html for actual updates