Borrow Function: search and update