adds "put" method to server.py and index.tpl

Also checks for .zip extension on update