update layouts for message operations