updated view api request