Edit code block for assets