I think the best thing is to describe exactly what you did. Did you type the words pkg install update?
If I do that I get a message that no pkg available matching update.
Did you try to install one package, like pkg install firefox?
Did you try sudo or doas, like sudo install firefox?
When you say I even tried as root, did you do su, then put in root's password?
The more specific you can be, the easier it will be to answer your questions. When you're first starting out, it might be hard to figure out what information to give.
Beastie gave some suggestions.
So, if you can, take us through the steps you used, and the packages you tried to install. As I said, doing pkg install update would give an error as there's no package called update.
It might also help if you told us the result of typing
at the prompt.