Update error messages to reflect correct property