added update script
update otp versions working
rename update to generate
adds support for all erlang versions