Update spartan to dev version 3.4.0