added update active endpoint to api