find_by_code update