Vue component not updating on data change