triggered update and upgrade oprations on startup