update readme, code samples and composer.json