Improve updates attribute validation
Add specs for updates attribute validation