updated db base and formatting