updated timestamp to be automatic