Showing thumbnail and updating fields correctly (Karma didnot allow me to test properly on localhost)