update edit view and controller with error messaging and with correct rendering