Webapp copy and update api conflict issue is fixed

This will provide the fix for https://wso2.org/jira/browse/APPM-177 .