update message model