Change deprecated update_attributes
Add more _useful_ error pages
Remove trailing whitespaces