Updated Readme and fixed query error