update drawing params