set isSnapshot based on version