update_github() helper function; remove dependency onn stringr