cleaned up approve and unapprove using helper