daily collection sql updation