contiki upgrade (closes issue #5)