update messageadapter