update source when saving versioned resources

this ensures that the configuration stays up to date with whatever most
recently worked. this affects automatically triggered builds, which
operate via the source config saved on the versioned resource. if
manually triggered (for example to work with the latest config), the new
config should start to take effect.

[finishes #78155712]