+ update_profile() to server.py
refactored update_profile()
namedtuples converted to dict for json-serializing
post-argument unknown 'cmd' gets _command_stuff()'ed