Refactor process flow for reloading messages