what about moving faction to db?