updated attackbutton