apply service url automatically