In the documentation it says
Apex code can create, read, and update (but not delete) custom metadata records
No where in the guide do I see apex being used to update custom metadata, only to create and read. I'd like to update the custom meta data in my org with apex. Are you only able to edit custom meta data if it's in another org and part of a managed packaged?