Use dyno hostname when updating instance state - allows dyno's to run
on separate servers. Deleted cosmetic whitespaces.
use url var instead of hash