added few options like init|update|sync