A court in Uttar Pradesh's Varanasi on Thursday rejected a petition to replace the advocate commissioner it had appointed to conduct a videography survey of the Gyanvapi-Shringar Gauri complex in Varanasi and ordered the completion of the task by May 17, Tuesday.