Update vcap_common and accept optional dashboard_url passed from the gateway.