Modifications to MVC5 update before DB update