Add web xml plugin to make production environment work.

Also changed database type to "update"