Add composer update for travis
Make genuuid function static