updated proposal fetch query