update for julia 0.4 syntax