Changed the delta parameter of the updateLogic() method to a final.