update spec
only use integers on chart