Simple php script for managing software updates thorugh an api