added update option for repositories