Change database_tools to api