Create update.php

To get the latest position on every ajax call from database.