action chosen with probability based on the up-to-date values