proximity changes and search storing in database