update to r