Maintain qandp data retrieved from database