added dynamic schema for database operations