Update logic of request and added Request object