Puppet Module Content count is not updated after module upload
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1122254
Description of problem:
1) Create a new repository and puppet type
2) click on the new repository and upload a puppet module
3) click on the repository name in left hand column or click on the "back to repository list" link
4) notice that the content column for the puppet repository still shows 0 puppet modules
see screenshot attached
Fixes #6776/BZ1122254: update table when repository modified.
The row in the product repositories table was not being updated
when the corresponding repository was updated. This commit updates
the row that matches the changed repository.