fix bugs on partition (arm/disarm) event logs not update to database