updated the spark core code to latest version