def update_config():
    global counter
    put('server/server.properties', '/home/mdindex/amoeba.properties')
    run('echo "MACHINE_ID = %d" >> /home/mdindex/amoeba.properties' % counter)
    counter += 1