readme update, composer update, switched to callback preg method