auto add timestamp in views