Changed System update() parameter from int to float