Added update queries and php framework.