updating messages mixin