updates field and image markup