updated the refresh model