update spec for application