changed from full page reload to single view reload