Merge UI with backend for editing functionality