updated .rb and .json file