class RoleStore {

    public boolean update(int id, Role role) {
        boolean done = false;
            try (Connection connect = CON.getConnect();
                 PreparedStatement st = connect.prepareStatement(QUERIES.getProperty("updateRole"))) {
                st.setString(1, role.getRole());
                st.setInt(2, id);
                done = st.executeUpdate() > 0;
            } catch (SQLException e) {
                LOG.error(e.getMessage(), e);
            }
        return done;
    }

}