<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def password(client, path):
 """Will attempt to contextually update a password in Vault"""

    if path.startswith('user:'):
        update_user_password(client, path[5:])
    else:
        update_generic_password(client, path)