handle lastModified and createdAt statements in updateArtifact() also