updating js