finish week view and database