Updated db stuff