Updated custom meta box snippet