updated some db stuff