I am trying to implement an update statement using a prepared statement in a PHP script, but it appears that it is not updating the record in the database and I am not sure why
Make sure that the party_id you are trying to update exists in the database.
party_id
Also, if your table is InnoDB, make sure that you have autocommit on or issue an explicit commit after the update is made.
InnoDB
autocommit