Do proper filtering on metadata for update tasks