changed ctx.deployment.blueprint_id to ctx.blueprint.id