started database file
added update run status function to database