update criteria param of request from string to object