Update some parameters to improve performance