Regenerate server code