Issue #6: Users API revised (update function)