update terminal brightness