Bug fix: underfined method update for nil class controller/user.rb .46