last modified database connection