Update search related functions