<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_session(request, session_to_set, hproPk):
 """Update the session with users-realted values"""


    for key, value in session_to_set.items():
        request.session['plugit_' + str(hproPk) + '_' + key] = value