update $().find() function to be based on parent element