update header info
add datetime support