added search, push and device code [skip ci]