Update to opal 0.5.1