Close Cursor in queries
Change log update
Correct change log