Fix package update validation
Add url and ref to release
Change to build_per_environment