updating remote with local