Get updates has now correct output, working with select sql query.