updates and rid of login db