update underliing repositories
update api to Rails v4.0.0, Ruby v2.0.0p247