Change db api