Update put-/get-variable; changed type format: char -> integer