fixing remote update stuff