updated with latest db script