Fixed DB update and Spring errors in deployment