update doGet() method