change to async db requests and change tag model