refs: Fix some issues found during code review

Namely rename refCreateArgs to createRefRequest and refUpdateArgs to
updateRefRequest.