Unifying writing activity information to the database