update readonly