refresh atom validity