updating http methods