Updated previous coordinates php file