Http codes changed for ES