update to check for version