fix problem auto update rest