Update the database on paid status change.