the documents, annotations and curations have states. Try to understand how state are stored into the alvisAE database