Fixed system update function