updated all rest calls to https