adding config query to memory task