update data page js