#1096| Adding API to update distribution status if all facilities are synced.
#1096| Client side changes for sync of distribution