Merge pull request #45 from vanetix/validations

Fix update validation issues
Fix validation errors with uppercase types and added tests. Fixes #46