change get courses query