Update version, move logic to jade