Update and Upsert methods implemented for PrivilegeGroupAccess

All tests pass.
Some changes where also made to the Add tests