updated image rendered method and library