Update database config and routes file