Update ResourceDAO.java