update attentions table