update version and allow getButton to accept string