Updating the MySQL subscription table