adding in live preview for edits.