minor improvement on shouldUpdateEntity
bump version to 0.3.1