update data

update data call in get data function