Update ruby syntax