int cant be converted into resultSet
<p>Hi all the code works without the result set but I need it included for me to add it to the result set. Is there any way I can do it in the one method?
This code is used to update user details in my java program. I use the resultset to get user details.</p>

<pre><code>public User editUserDetails(int userID ,String email, String password, String fName, String lName, String bio, String image) {

    boolean found = false;
    Connection c = DBHelperClass.getConnection();
    String query = "UPDATE user SET email= ? , password= ?,fName= ?,lName= ?,bio= ?,image=? WHERE userID= ?";

    if (c != null) {
        try {
            PreparedStatement inserter = c.prepareStatement(query);
            inserter.setString(1, email);
            inserter.setString(2, password);
            inserter.setString(3, fName);
            inserter.setString(4, lName);
            inserter.setString(5, bio);
            inserter.setString(6, image);
            inserter.setInt(7, userID);

            System.out.println("Update user: " + query);
            ResultSet resultSet = inserter.executeUpdate();
            inserter.executeUpdate();
            inserter.close();

            while (resultSet.next()) {
                this.setUserID(resultSet.getInt("userID"));
                this.email = resultSet.getString("email");
                this.setPassword(resultSet.getString("password"));
                this.type=resultSet.getString("type");
                this.fName=resultSet.getString("fName");
                this.lName=resultSet.getString("lName");
                found = true;

            }
        } catch (SQLException ex) {
            Logger.getLogger(User.class.getName()).log(Level.SEVERE, null, ex);
        }

    }
    return this;
}
</code></pre>

<p>error is on line:<br>
ResultSet resultSet = inserter.executeUpdate();</p>

<p>error is :int can not be converted to ResultSet</p>