update

added auto attack when in range