update to ruby samples