Fix update device configuration

Fixed wrong url in device configuration update and get
@yulrizka could you review and merge?