Update imaps and trailings