type update
drawImage method add
bug fix