Updated truffle version to 0.5