update document for fade animation