fix import of data bug

when data with the same timestamp as existing data was imported the data
was just added, now the value is being updated