updates rm and js