modify database operation