Add validation to application update