updating timestamp as array