js update no page refresh required now