changed database constants