use xray to update element information