update max_allowed for seloger