Database Finish