Updating application id