add document create and save events