modified database operation