added training update endpoint