attention api modify