creating update.php for server