added new version sql