fixed bug: change on model wasn't getting reflected on the ui