Adding model -> view sync function.
persistence hooked up