marked-element needs manual update during build