Upload sketch to Mkr through wifi and not USB

Here is a nice library that will allow you to do this:

Arduino has made some steps towards providing their own library with this functionality, but it's still in beta phase: