public void renewFilm(int filmID, int userID) {
        FilmBean film = this.getFilm(filmID);
        if(film.getBorrowerID() == userID && film.getRenewals() < 2){
            film.setRenewals(film.getRenewals() + 1);
            film.setReturnDate(new Date(film.getReturnDate().getTime()+(1000*60*60*24*7)));
            this.updateFilm(film);
        }
    }