inline edit for work rem UI works. fixed issues in  db save