rm and update