changed page refresh to be a partial page reload