set correct database