Text this: Optimised maintenance of datalog materialisations