added setData to simply overwrite data