updated remote to origin api