messages cleanup and use update platform client