db update + view