update limit code