update hash style to ruby 1.8 hash style for backwards compatibility