Update version to 0.5.0 with readOnly fix.